package com.shenmazong.serverwebpoem.game;

/**
 * @author 田不平
 * @project server-web-poem
 * @date 2020/4/10 12:46 PM
 * http://www.shenmazong.com
 */
public class GameConst {
    //-- 房间状态
    public final static Integer GAME_ROOM_STATUS_WAITING = 0;
    public final static Integer GAME_ROOM_STATUS_READY = 1;
    public final static Integer GAME_ROOM_STATUS_WORKING = 2;
    public final static Integer GAME_ROOM_STATUS_END = 3;

    //-- 比赛协议
    public final static String GAME_RACE_CMD_JOIN = "join";
    public final static String GAME_RACE_CMD_TIME = "time";
    public final static String GAME_RACE_CMD_START = "start";
    public final static String GAME_RACE_CMD_ASK = "ask";
    public final static String GAME_RACE_CMD_REPLY = "reply";
    public final static String GAME_RACE_CMD_TOP = "top";
    public final static String GAME_RACE_CMD_END = "end";
}
